import java.awt.Graphics;
import java.awt.Image;

import javax.swing.JPanel;


public class PainelMidia extends JPanel{
	
	private Image imagem;
	
	public PainelMidia()
	{
		this(null);
	}
	
	public PainelMidia(Image i)
	{
		imagem=i;
	}
	public void paintComponent(Graphics g)
	{
		g.drawImage(imagem,0,0,null);
	}
}
